import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyVue from '@/components/myVue'
import elestu from '@/components/elestu'
import user from '@/components/user'
import department from '@/components/department'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/myVue',
      name: 'MyVue',
      component: MyVue
    },{
      path: '/ele',
      name: 'elestu',
      component: elestu
    },{
      path: '/user',
      name: 'user',
      component: user
    },{
      path: '/dept',
      name: 'department',
      component: department
    }
  ]
})
